package danlib;

import javax.swing.*;


public class DWindow extends JFrame
{
	public DWindow()
	{
		super();
		//setSize( 800, 600 );
		always();
	}
	
	public DWindow( String title )
	{
		super( title );
		//setSize( 800, 600 );
		always();
	}
	
	public DWindow( int x, int y )
	{
		super();
		//setSize( x, y );
		always();
	}
	
	public DWindow( String title, int x, int y )
	{
		super( title );
		//setSize( x, y );
		always();
	}
	
	private void always()
	{
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setVisible( true );
	}


}